package com.hmys.api.mapper;

import com.hmys.api.model.WebCounselor;
import com.hmys.api.model.WebCounselorItem;
import com.hmys.api.model.WebCounselorWithBLOBs;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WebCounselorMapper {
    int deleteByPrimaryKey(Long id);

    int insert(WebCounselorWithBLOBs record);

    int insertSelective(WebCounselorWithBLOBs record);

    WebCounselorWithBLOBs selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(WebCounselorWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(WebCounselorWithBLOBs record);

    int updateByPrimaryKey(WebCounselor record);

    List<WebCounselorItem> selectItemByBean(WebCounselor record);

    List<WebCounselorWithBLOBs> selectByBean(WebCounselor record);

    int updatePageViewByPrimaryKey(Long id);

}